<?php 
get_header();
require(WEBTREATS_INCLUDES . "/var.php");
?>

<div id="body_block" <?php webtreats_body_class(); ?>>
	
	<?php if($home_slider_page) { webtreats_header_slider_switcher($homepage_slider); } ?>
	
	<?php webtreats_teaser_text($post->ID); ?>
	
<div id="body_block_background">
		
	<div class="inner">
		
		<?php if (!$breadcrumb_disable){ if (class_exists('simple_breadcrumb')) { $bc = new simple_breadcrumb; }} ?>

<div id="main">
	<div class="content">
		
		<div <?php post_class() ?> id="post-404">
				
			<?php if($header_teaser == 'disable') : ?>
			<h1>404 - Not Found</h1>
			<h5>Looks like the page you're looking for isn't here anymore. Try using the search box or sitemap below.</h5>
			<?php endif; ?>

			<?php include(TEMPLATEPATH. '/searchform.php'); ?>

			<div class="divider"></div>
			
			<?php require(WEBTREATS_INCLUDES . "/sitemap-content.php"); ?>
			
		</div> <!-- .post -->
		
	<div class="clearboth"></div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>